<HTML><HEAD><TITLE>?X &< ?Y</TITLE>
</HEAD><BODY>[ <A HREF="index.html">library(ic_symbolic)</A> | <A HREF="../../index.html">Reference Manual</A> | <A HREF="../../fullindex.html">Alphabetic Index</A> ]
<H1>?X &< ?Y</H1>
X is before Y in the domain order
<DL>
<DT><EM>X</EM></DT>
<DD>variable or domain value
</DD>
<DT><EM>Y</EM></DT>
<DD>variable or domain value
</DD>
</DL>
<H2>Description</H2>

	Constrains X and Y such that X is before Y in the domain order.
	X and Y must be variables or values of the same domain. If one of
	them is domain-less, it will be given the same domain as the other.

<H3>Modules</H3>
This predicate is sensitive to its module context (tool predicate, see @/2).
<H2>Examples</H2>
<PRE>
    ?- [X,Y] &amp;:: weekday, X &amp;&lt; Y.
    X = X{[mo, tu, we, th, fr, sa]}
    Y = Y{[tu, we, th, fr, sa, su]}
    There is 1 delayed goal.
    Yes (0.00s cpu)

    ?- mo &amp;&lt; th.
    Yes (0.00s cpu)

    ?- X &amp;&lt; th.
    X = X{[mo, tu, we]}
    Yes (0.00s cpu)

    ?- fr &amp;&lt; th.
    No (0.00s cpu)

    ?- X &amp;&lt; Y.
    Arguments have no domains in X &amp;&lt; Y in module eclipse
    Abort

    ?- X &amp;:: weekday, X &amp;&lt; red.
    Arguments have different domains (weekday,colour) in X &amp;&lt; red ...
    Abort
    </PRE>
<H2>See Also</H2>
<A HREF="../../lib/ic_symbolic/YL-3.html">&< / 3</A>, <A HREF="../../lib/ic_symbolic/YG-2.html">&> / 2</A>, <A HREF="../../lib/ic_symbolic/YEL-2.html">&=< / 2</A>, <A HREF="../../lib/ic_symbolic/YGE-2.html">&>= / 2</A>, <A HREF="../../lib/ic_symbolic/YE-2.html">&= / 2</A>, <A HREF="../../lib/ic_symbolic/YRE-2.html">&\= / 2</A>, <A HREF="../../lib/ic_symbolic/shift-3.html">shift / 3</A>, <A HREF="../../lib/ic_symbolic/rotate-3.html">rotate / 3</A>, <A HREF="../../kernel/termcomp/domain-1.html">domain / 1</A>
</BODY></HTML>
